package com.weichuanbo.xwdz.mvp.model.entity;

/**
 * Created by ssy on 2018/7/29 16:16
 * E-Mail ：1161209667@qq.com
 */
public class MatchingCallBackBean {


    /**
     * body : {"body":{"h5game_url":"http://miwan-h5.i7game.net/pintu/","room_id":131088,"user_a":{"head_url":"http://miwan.ufile.ucloud.com.cn/5a49ed162222d.jpg","name":"小贝","token":"","u_uid":45},"user_b":{"head_url":"http://miwan.ufile.ucloud.com.cn/123.jpg","name":"亚木叉","token":"","u_uid":87}},"name":"pk complete","result":0}
     * header : {"code":1073020945}
     */

    private BodyBeanX body;
    private HeaderBean header;

    public BodyBeanX getBody() {
        return body;
    }

    public void setBody(BodyBeanX body) {
        this.body = body;
    }

    public HeaderBean getHeader() {
        return header;
    }

    public void setHeader(HeaderBean header) {
        this.header = header;
    }

    public static class BodyBeanX {
        /**
         * body : {"h5game_url":"http://miwan-h5.i7game.net/pintu/","room_id":131088,"user_a":{"head_url":"http://miwan.ufile.ucloud.com.cn/5a49ed162222d.jpg","name":"小贝","token":"","u_uid":45},"user_b":{"head_url":"http://miwan.ufile.ucloud.com.cn/123.jpg","name":"亚木叉","token":"","u_uid":87}}
         * name : pk complete
         * result : 0
         */

        private BodyBean body;
        private String name;
        private int result;

        public BodyBean getBody() {
            return body;
        }

        public void setBody(BodyBean body) {
            this.body = body;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getResult() {
            return result;
        }

        public void setResult(int result) {
            this.result = result;
        }

        public static class BodyBean {
            /**
             * h5game_url : http://miwan-h5.i7game.net/pintu/
             * room_id : 131088
             * user_a : {"head_url":"http://miwan.ufile.ucloud.com.cn/5a49ed162222d.jpg","name":"小贝","token":"","u_uid":45}
             * user_b : {"head_url":"http://miwan.ufile.ucloud.com.cn/123.jpg","name":"亚木叉","token":"","u_uid":87}
             */

            private String h5game_url;
            private int room_id;
            private UserABean user_a;
            private UserABean user_b;

            public String getH5game_url() {
                return h5game_url;
            }

            public void setH5game_url(String h5game_url) {
                this.h5game_url = h5game_url;
            }

            public int getRoom_id() {
                return room_id;
            }

            public void setRoom_id(int room_id) {
                this.room_id = room_id;
            }

            public UserABean getUser_a() {
                return user_a;
            }

            public void setUser_a(UserABean user_a) {
                this.user_a = user_a;
            }

            public UserABean getUser_b() {
                return user_b;
            }

            public void setUser_b(UserABean user_b) {
                this.user_b = user_b;
            }

            public static class UserABean {
                /**
                 * head_url : http://miwan.ufile.ucloud.com.cn/5a49ed162222d.jpg
                 * name : 小贝
                 * token :
                 * u_uid : 45
                 */

                private String head_url;
                private String name;
                private String token;
                private int u_uid;
                private String openid;

                public String getOpenid() {
                    return openid;
                }

                public void setOpenid(String openid) {
                    this.openid = openid;
                }

                public String getHead_url() {
                    return head_url;
                }

                public void setHead_url(String head_url) {
                    this.head_url = head_url;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getToken() {
                    return token;
                }

                public void setToken(String token) {
                    this.token = token;
                }

                public int getU_uid() {
                    return u_uid;
                }

                public void setU_uid(int u_uid) {
                    this.u_uid = u_uid;
                }
            }


        }
    }

    public static class HeaderBean {
        /**
         * code : 1073020945
         */

        private int code;

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }
    }
}
